package com.ea.service.impl;

import com.ea.domain.dto.ElectricGoodsSalesTotalDTO;
import com.ea.domain.dto.TotalSaleDTO;
import com.ea.mapper.OrderFormDetailMapper;
import com.ea.service.IOrderFormDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author NAME-L
 * @Description TODO
 * @className IOrderFormDetailServiceImpl
 * @date 2023-04-11 21:29:13
 */
@Service
public class IOrderFormDetailServiceImpl implements IOrderFormDetailService {

    @Autowired
    private OrderFormDetailMapper orderFormDetailMapper;

    @Override
    public List<ElectricGoodsSalesTotalDTO> getTodayAllGoodsSale() {
        return orderFormDetailMapper.queryTotalSale();
    }
}
